home *** CD-ROM | disk | FTP | other *** search
/ c't freeware shareware 1997 / CT_SW_97.ISO / mac / Software / kommunik / macos / macsoup.hqx / MacSOUP-2.2 / MacSOUP Manual.rsrc / PICT_43.png < prev    next >
Portable Network Graphic  |  1997-01-19  |  113KB  |  816x1056  |  8-bit (256 colors)
Labels: bulletin board | reckoner | sky
OCR: Scripting MacSOUP Scripting MacSOUP The two most important commands of MacSOUP can be controlled via AppleScript: Purge and Connect to Server Here's ar example script: tell application "MacSOUP" activate with timeout 0 60 seconds purge connecwith fetching news, fetching tagged headers fetchinganelsending end timeout quit end tell This script first brings MacSOUP to the foreground, then it tells it to purge old articles, and then to connect and fetch news and mail as well as send outbound messages Then tells MacSOUP to auit If you d,oop have a default settings file which MacSOUP automatically opens at startup, or if you are using more than one settings file you'll first have to tell MacSOUP which settings file open In this case insert the following line before or after the 'activate' comman ...